Always use gint for border_width
authorMatthias Clasen <mclasen@redhat.com>
Sat, 4 May 2013 23:21:56 +0000 (19:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 4 May 2013 23:21:56 +0000 (19:21 -0400)
commit3b4804bbf16fa6323a733d82ecf4283da5c98bc5
treec368efa1af932fc7abffbfbf70f51fdbd9f62a1e
parent38688cad00938c40663800f9771b6c28bb6bbb6b
Always use gint for border_width

This avoids an evil trap when doing MAX (..., ... - 2 * border_width)
and the expression on the right gets promoted to unsigned, instead
of going negative as you would expect.
https://bugzilla.gnome.org/show_bug.cgi?id=699633
gtk/gtkalignment.c
gtk/gtkframe.c
gtk/gtknotebook.c
gtk/gtkviewport.c
gtk/gtkwindow.c